﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManangerUser.aspx.cs" Inherits="Manager_User_PageData_ManangerUser" MasterPageFile="~/Manager/User/PageData/MasterPage.master"%>

<asp:Content ID="Head" ContentPlaceHolderID="HeadPlaceHolder" runat="server">
<script type="text/javascript">
    function checkData() {
        if (document.forms[0].userName.value == "") {
            alert("用户名不能为空!");
            return false;
        }
        if (document.forms[0].pass.value == "") {
            alert("密码不能为空!");
            return false;
        }
        if (document.forms[0].pass.value != document.forms[0].pass2.value) {
            alert("两次密码输入不一致!");
            return false;
        }
        document.forms[0].submit();
        return true;
    }
</script>
</asp:Content>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" runat="server">

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="images/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="images/tab_05.gif"><img alt="" src="images/a.gif" width="16" height="16" /> <span class="STYLE4"><%=OperTitle%></span></td>
        <td width="281" background="images/tab_05.gif"><table border="0" align="right" cellpadding="0" cellspacing="0">
            <tr>
              <td width="60"><table width="87%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center">
                    </div></td>
                    <td class="STYLE1"><div align="center"></div></td>
                  </tr>
              </table></td>
              
             <td width="60"><table width="90%" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="STYLE1"><div align="center"><img alt="" src="images/002.gif" width="14" height="14" /></div></td>
                    <td class="STYLE1"><div align="center"><a  href="ManagerUserList.aspx?action=gopage&pageIndex=1">返回</a></div></td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
        <td width="14"><img alt="" src="images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>

   <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3">
        <table width="40%" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr>
            <td width="30%" height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">用户名:</div></td>
            <td width="70%" height="30"><input type="text" name="userName" id="userName" value="<%=ManagerUser.UserName%>"/></td>
          </tr>
          <tr>
            <td height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">密  码:</div></td>
            <td height="26"><input type="password" name="pass" id="pass" value=""/></td>
          </tr>
          <tr>
            <td height="30"><div align="left" class="STYLE2 STYLE1 STYLE5">密码确认:</div></td>
            <td  height="26"><input type="password" name="pass2" id="pass2" value=""/></td>
          </tr>
           <tr style="height:56px">
            <td >&nbsp;</td>
            <td height="36"><input type="button" value="提 交" class="STYLE_BUTTON" onclick="checkData();"/></td>
          </tr>        
        </table></td>
        <td width="9" background="images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="images/tab_20.gif" width="15" height="29" /></td>
        <td background="images/tab_21.gif" width="100%"></td>
        <td width="14"><img src="images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<script type="text/javascript">    var act = queryString("action"); if (act != null && act == "edit") {document.all("userName").disabled = true; }</script>
</asp:Content>
